package top.lyunz.lucky.hr.service.Impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import top.lyunz.lucky.hr.bean.Config_major;
import top.lyunz.lucky.hr.mapper.Config_majorMapper;
import top.lyunz.lucky.hr.service.Config_majorService;

@Service
public class Config_majorServiceImpl implements Config_majorService {

	@Autowired
	private Config_majorMapper config_majorMapper;

	@Override
	public List<Config_major> getbyid(int id) {
		// TODO Auto-generated method stub
		return config_majorMapper.getbyid(id);
	}

	@Override
	public Config_major getonebyid(int id) {
		// TODO Auto-generated method stub
		return config_majorMapper.getonebyid(id);
	}
	
}
